<script>
export default {
 name:"AsideView",
  components:{
    SwitchButton,
   Location,
    Setting,
    Menu,

  }
}
import {Location, Setting, Menu, SwitchButton} from "@element-plus/icons";
</script>

<template>
  <el-row class="tac">
    <el-col :span="25">
      <el-menu
          router
          default-active="/"
          class="el-menu-vertical-demo">
        <el-sub-menu index="1">
          <template #title>
            <el-icon><location /></el-icon>
            <span>学生管理</span>
          </template>
          <el-menu-item-group>
            <el-menu-item index="/">
              <el-icon><Menu /></el-icon>
              学生列表
            </el-menu-item>
            <el-menu-item index="/test">
              <el-icon><SwitchButton/></el-icon>
              测试
            </el-menu-item>
          </el-menu-item-group>
        </el-sub-menu>
        <el-sub-menu index="1 ">
          <template #title>
            <el-icon><Setting /></el-icon>
            <span>系统管理</span>
          </template>
          <el-menu-item-group>
            <el-menu-item index="1-1">item one</el-menu-item>
            <el-menu-item index="1-2">item two</el-menu-item>
          </el-menu-item-group>
        </el-sub-menu>
      </el-menu>
    </el-col>
  </el-row>
</template>

<style scoped lang="scss">

</style>